package com.example.vehiclemanagesystem.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

@Entity
public class Driver {

    @Id
    private Integer d_id;
    private String name;
    private String type;
    private String state;
    private String punish;

    public Driver(Integer d_id, String name, String type, String state, String punish) {
        this.d_id = d_id;
        this.name = name;
        this.type = type;
        this.state = state;
        this.punish = punish;
    }

    public Driver() {

    }

    public Integer getD_id() {
        return d_id;
    }

    public String getName() {
        return name;
    }

    public String getType() {
        return type;
    }

    public String getState() {
        return state;
    }

    public String getPunish() {
        return punish;
    }

    public void setD_id(Integer d_id) {
        this.d_id = d_id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setState(String state) {
        this.state = state;
    }

    public void setPunish(String punish) {
        this.punish = punish;
    }

}
